package com.da.auth.convert;

import com.da.auth.entity.DailyRole;
import com.da.auth.entity.dto.DailyRoleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-20
 * @Version: 1.0
 */
@Mapper
public interface DailyRoleConverter {
    DailyRoleConverter INSTANCE = Mappers.getMapper(DailyRoleConverter.class);

    DailyRole convertToEntity(DailyRoleDTO dailyRoleDTO);
}
